package route

import (
	"github.com/gin-gonic/gin"
	"github.com/vueadmin/app/admin/internal/svc"
	"github.com/vueadmin/app/admin/sys/route"
)

// 注册路由
func RegisterHandlers(r *gin.Engine, svcCtx *svc.ServiceContext) {
	new(route.SysRouter).RegisterRoute(r, svcCtx)
	new(Login).RegisterRoute(r, svcCtx)
	new(Base).RegisterRoute(r, svcCtx)
	new(Baseconfig).RegisterRoute(r, svcCtx)
	new(Adminuser).RegisterRoute(r, svcCtx)
	new(Role).RegisterRoute(r, svcCtx)
	new(Log).RegisterRoute(r, svcCtx)
	new(Membe).RegisterRoute(r, svcCtx)
	new(Car).RegisterRoute(r, svcCtx)
											new(Supplier).RegisterRoute(r, svcCtx)
	new(GoodsCata).RegisterRoute(r, svcCtx)
	new(Goods).RegisterRoute(r, svcCtx)
	new(Linkcata).RegisterRoute(r, svcCtx)
	new(Link).RegisterRoute(r, svcCtx)
			new(Test).RegisterRoute(r, svcCtx)
						}
